home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / yow.elc.z / yow.elc
Emacs Compiled Lisp  |  1998-10-28  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 75 6e 20 4a |ggum.no |on Sun J|
|00000030| 61 6e 20 31 34 20 30 37 | 3a 33 32 3a 30 38 20 31 |an 14 07|:32:08 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 67 64 2f 67 6e | 75 2f 65 6d 61 63 73 2f |e /gd/gn|u/emacs/|
|00000060| 31 39 2e 30 2f 6c 69 73 | 70 2f 79 6f 77 2e 65 6c |19.0/lis|p/yow.el|
|00000070| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|00000080| 6f 6e 20 31 39 2e 33 30 | 2e 37 30 2e 36 2e 0a 3b |on 19.30|.70.6..;|
|00000090| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000a0| 69 6f 6e 20 46 53 46 20 | 32 2e 31 30 0a 3b 3b 3b |ion FSF |2.10.;;;|
|000000b0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|000000c0| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|000000d0| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|000000e0| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|000000f0| 73 74 20 69 6e 20 45 6d | 61 63 73 20 31 38 2e 0a |st in Em|acs 18..|
|00000100| 0a 28 69 66 20 28 61 6e | 64 20 28 62 6f 75 6e 64 |.(if (an|d (bound|
|00000110| 70 20 27 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |p 'emacs|-version|
|00000120| 29 0a 09 20 28 6f 72 20 | 28 61 6e 64 20 28 62 6f |).. (or |(and (bo|
|00000130| 75 6e 64 70 20 27 65 70 | 6f 63 68 3a 3a 76 65 72 |undp 'ep|och::ver|
|00000140| 73 69 6f 6e 29 20 65 70 | 6f 63 68 3a 3a 76 65 72 |sion) ep|och::ver|
|00000150| 73 69 6f 6e 29 0a 09 20 | 20 20 20 20 28 73 74 72 |sion).. | (str|
|00000160| 69 6e 67 2d 6c 65 73 73 | 70 20 65 6d 61 63 73 2d |ing-less|p emacs-|
|00000170| 76 65 72 73 69 6f 6e 20 | 22 31 39 2e 32 39 22 29 |version |"19.29")|
|00000180| 29 29 0a 20 20 20 20 28 | 65 72 72 6f 72 20 22 60 |)). (|error "`|
|00000190| 79 6f 77 2e 65 6c 27 20 | 77 61 73 20 63 6f 6d 70 |yow.el' |was comp|
|000001a0| 69 6c 65 64 20 66 6f 72 | 20 45 6d 61 63 73 20 31 |iled for| Emacs 1|
|000001b0| 39 2e 32 39 20 6f 72 20 | 6c 61 74 65 72 22 29 29 |9.29 or |later"))|
|000001c0| 0a 0a 0a 28 72 65 71 75 | 69 72 65 20 28 71 75 6f |...(requ|ire (quo|
|000001d0| 74 65 20 63 6f 6f 6b 69 | 65 31 29 29 0a 23 40 34 |te cooki|e1)).#@4|
|000001e0| 34 20 46 69 6c 65 20 63 | 6f 6e 74 61 69 6e 69 6e |4 File c|ontainin|
|000001f0| 67 20 70 65 72 74 69 6e | 65 6e 74 20 70 69 6e 68 |g pertin|ent pinh|
|00000200| 65 61 64 20 70 68 72 61 | 73 65 73 2e 1f 0a 28 64 |ead phra|ses...(d|
|00000210| 65 66 76 61 72 20 79 6f | 77 2d 66 69 6c 65 20 28 |efvar yo|w-file (|
|00000220| 63 6f 6e 63 61 74 20 64 | 61 74 61 2d 64 69 72 65 |concat d|ata-dire|
|00000230| 63 74 6f 72 79 20 22 79 | 6f 77 2e 6c 69 6e 65 73 |ctory "y|ow.lines|
|00000240| 22 29 20 28 23 24 20 2e | 20 34 38 32 29 29 0a 28 |") (#$ .| 482)).(|
|00000250| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 11 c1 5c 6e |byte-cod|e "...\n|
|00000260| 42 12 c3 14 c4 5c 6e 42 | 12 c1 87 22 20 5b 22 41 |B....\nB|..." ["A|
|00000270| 6d 20 49 20 43 4f 4e 53 | 49 4e 47 20 79 65 74 3f |m I CONS|ING yet?|
|00000280| 2e 2e 2e 22 20 79 6f 77 | 2d 6c 6f 61 64 2d 6d 65 |..." yow|-load-me|
|00000290| 73 73 61 67 65 20 63 75 | 72 72 65 6e 74 2d 6c 6f |ssage cu|rrent-lo|
|000002a0| 61 64 2d 6c 69 73 74 20 | 22 49 20 68 61 76 65 20 |ad-list |"I have |
|000002b0| 53 45 45 4e 20 74 68 65 | 20 43 4f 4e 53 49 4e 47 |SEEN the| CONSING|
|000002c0| 21 21 22 20 79 6f 77 2d | 61 66 74 65 72 2d 6c 6f |!!" yow-|after-lo|
|000002d0| 61 64 2d 6d 65 73 73 61 | 67 65 5d 20 32 29 0a 23 |ad-messa|ge] 2).#|
|000002e0| 40 37 34 20 52 65 74 75 | 72 6e 20 6f 72 20 64 69 |@74 Retu|rn or di|
|000002f0| 73 70 6c 61 79 20 61 20 | 72 61 6e 64 6f 6d 20 5a |splay a |random Z|
|00000300| 69 70 70 79 20 71 75 6f | 74 61 74 69 6f 6e 2e 20 |ippy quo|tation. |
|00000310| 20 57 69 74 68 20 70 72 | 65 66 69 78 20 61 72 67 | With pr|efix arg|
|00000320| 2c 20 69 6e 73 65 72 74 | 20 69 74 2e 1f 0a 28 64 |, insert| it...(d|
|00000330| 65 66 61 6c 69 61 73 20 | 27 79 6f 77 20 23 5b 28 |efalias |'yow #[(|
|00000340| 26 6f 70 74 69 6f 6e 61 | 6c 20 69 6e 73 65 72 74 |&optiona|l insert|
|00000350| 29 20 22 c0 09 5c 6e 0b | 23 1c 0d 83 0f 00 5c 66 |) "..\n.|#.....\f|
|00000360| 63 82 3e 00 74 84 17 00 | 5c 66 82 3e 00 c6 c7 5c |c.>.t...|\f.>...\|
|00000370| 66 5c 22 84 2b 00 c8 c9 | ca 21 21 88 cb cc 5c 66 |f\".+...|.!!...\f|
|00000380| 5c 22 82 3e 00 cb cd 21 | 88 ca 90 ce 5c 66 21 88 |\".>...!|....\f!.|
|00000390| 8a 0e 0f 71 88 d0 20 29 | 91 29 87 22 20 5b 63 6f |...q.. )|.)." [co|
|000003a0| 6f 6b 69 65 20 79 6f 77 | 2d 66 69 6c 65 20 79 6f |okie yow|-file yo|
|000003b0| 77 2d 6c 6f 61 64 2d 6d | 65 73 73 61 67 65 20 79 |w-load-m|essage y|
|000003c0| 6f 77 2d 61 66 74 65 72 | 2d 6c 6f 61 64 2d 6d 65 |ow-after|-load-me|
|000003d0| 73 73 61 67 65 20 79 6f | 77 20 69 6e 73 65 72 74 |ssage yo|w insert|
|000003e0| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5c | string-|match "\|
|000003f0| 6e 22 20 64 65 6c 65 74 | 65 2d 77 69 6e 64 6f 77 |n" delet|e-window|
|00000400| 73 2d 6f 6e 20 67 65 74 | 2d 62 75 66 66 65 72 2d |s-on get|-buffer-|
|00000410| 63 72 65 61 74 65 20 22 | 2a 48 65 6c 70 2a 22 20 |create "|*Help*" |
|00000420| 6d 65 73 73 61 67 65 20 | 22 25 73 22 20 22 59 6f |message |"%s" "Yo|
|00000430| 77 21 22 20 70 72 69 6e | 63 20 73 74 61 6e 64 61 |w!" prin|c standa|
|00000440| 72 64 2d 6f 75 74 70 75 | 74 20 68 65 6c 70 2d 6d |rd-outpu|t help-m|
|00000450| 6f 64 65 5d 20 34 20 28 | 23 24 20 2e 20 37 34 30 |ode] 4 (|#$ . 740|
|00000460| 29 20 22 50 22 5d 29 0a | 23 40 31 34 39 20 52 65 |) "P"]).|#@149 Re|
|00000470| 61 64 20 61 20 5a 69 70 | 70 79 69 73 6d 20 66 72 |ad a Zip|pyism fr|
|00000480| 6f 6d 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |om the m|inibuffe|
|00000490| 72 20 77 69 74 68 20 63 | 6f 6d 70 6c 65 74 69 6f |r with c|ompletio|
|000004a0| 6e 2c 20 70 72 6f 6d 70 | 74 69 6e 67 20 77 69 74 |n, promp|ting wit|
|000004b0| 68 20 50 52 4f 4d 50 54 | 2e 0a 49 66 20 6f 70 74 |h PROMPT|..If opt|
|000004c0| 69 6f 6e 61 6c 20 73 65 | 63 6f 6e 64 20 61 72 67 |ional se|cond arg|
|000004d0| 20 69 73 20 6e 6f 6e 2d | 6e 69 6c 2c 20 72 65 71 | is non-|nil, req|
|000004e0| 75 69 72 65 20 69 6e 70 | 75 74 20 74 6f 20 6d 61 |uire inp|ut to ma|
|000004f0| 74 63 68 20 61 20 63 6f | 6d 70 6c 65 74 69 6f 6e |tch a co|mpletion|
|00000500| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 72 65 |...(defa|lias 're|
|00000510| 61 64 2d 7a 69 70 70 79 | 69 73 6d 20 23 5b 28 70 |ad-zippy|ism #[(p|
|00000520| 72 6f 6d 70 74 20 26 6f | 70 74 69 6f 6e 61 6c 20 |rompt &o|ptional |
|00000530| 72 65 71 75 69 72 65 2d | 6d 61 74 63 68 29 20 22 |require-|match) "|
|00000540| c0 09 5c 6e 0b 5c 66 0d | 25 87 22 20 5b 72 65 61 |..\n.\f.|%." [rea|
|00000550| 64 2d 63 6f 6f 6b 69 65 | 20 70 72 6f 6d 70 74 20 |d-cookie| prompt |
|00000560| 79 6f 77 2d 66 69 6c 65 | 20 79 6f 77 2d 6c 6f 61 |yow-file| yow-loa|
|00000570| 64 2d 6d 65 73 73 61 67 | 65 20 79 6f 77 2d 61 66 |d-messag|e yow-af|
|00000580| 74 65 72 2d 6c 6f 61 64 | 2d 6d 65 73 73 61 67 65 |ter-load|-message|
|00000590| 20 72 65 71 75 69 72 65 | 2d 6d 61 74 63 68 5d 20 | require|-match] |
|000005a0| 36 20 28 23 24 20 2e 20 | 31 31 33 34 29 5d 29 0a |6 (#$ . |1134)]).|
|000005b0| 28 70 75 74 20 28 71 75 | 6f 74 65 20 72 65 61 64 |(put (qu|ote read|
|000005c0| 2d 7a 69 70 70 79 69 73 | 6d 29 20 28 71 75 6f 74 |-zippyis|m) (quot|
|000005d0| 65 20 62 79 74 65 2d 6f | 70 74 69 6d 69 7a 65 72 |e byte-o|ptimizer|
|000005e0| 29 20 28 71 75 6f 74 65 | 20 62 79 74 65 2d 63 6f |) (quote| byte-co|
|000005f0| 6d 70 69 6c 65 2d 69 6e | 6c 69 6e 65 2d 65 78 70 |mpile-in|line-exp|
|00000600| 61 6e 64 29 29 0a 23 40 | 37 37 20 50 72 6f 6d 70 |and)).#@|77 Promp|
|00000610| 74 20 77 69 74 68 20 63 | 6f 6d 70 6c 65 74 69 6f |t with c|ompletio|
|00000620| 6e 20 66 6f 72 20 61 20 | 6b 6e 6f 77 6e 20 5a 69 |n for a |known Zi|
|00000630| 70 70 79 20 71 75 6f 74 | 61 74 69 6f 6e 2c 20 61 |ppy quot|ation, a|
|00000640| 6e 64 20 69 6e 73 65 72 | 74 20 69 74 20 61 74 20 |nd inser|t it at |
|00000650| 70 6f 69 6e 74 2e 1f 0a | 28 64 65 66 61 6c 69 61 |point...|(defalia|
|00000660| 73 20 27 69 6e 73 65 72 | 74 2d 7a 69 70 70 79 69 |s 'inser|t-zippyi|
|00000670| 73 6d 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |sm #[(&o|ptional |
|00000680| 7a 69 70 70 79 69 73 6d | 29 20 22 08 63 87 22 20 |zippyism|) ".c." |
|00000690| 5b 7a 69 70 70 79 69 73 | 6d 5d 20 31 20 28 23 24 |[zippyis|m] 1 (#$|
|000006a0| 20 2e 20 31 35 34 37 29 | 20 28 6c 69 73 74 20 28 | . 1547)| (list (|
|000006b0| 72 65 61 64 2d 7a 69 70 | 70 79 69 73 6d 20 22 50 |read-zip|pyism "P|
|000006c0| 69 6e 68 65 61 64 20 77 | 69 73 64 6f 6d 3a 20 22 |inhead w|isdom: "|
|000006d0| 20 74 29 29 5d 29 0a 23 | 40 31 30 34 20 52 65 74 | t))]).#|@104 Ret|
|000006e0| 75 72 6e 20 61 20 6c 69 | 73 74 20 6f 66 20 61 6c |urn a li|st of al|
|000006f0| 6c 20 5a 69 70 70 79 20 | 71 75 6f 74 65 73 20 6d |l Zippy |quotes m|
|00000700| 61 74 63 68 69 6e 67 20 | 52 45 47 45 58 50 2e 0a |atching |REGEXP..|
|00000710| 49 66 20 63 61 6c 6c 65 | 64 20 69 6e 74 65 72 61 |If calle|d intera|
|00000720| 63 74 69 76 65 6c 79 2c | 20 64 69 73 70 6c 61 79 |ctively,| display|
|00000730| 20 61 20 6c 69 73 74 20 | 6f 66 20 6d 61 74 63 68 | a list |of match|
|00000740| 65 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |es...(de|falias '|
|00000750| 61 70 72 6f 70 6f 73 2d | 7a 69 70 70 79 20 23 5b |apropos-|zippy #[|
|00000760| 28 72 65 67 65 78 70 29 | 20 22 c0 09 5c 6e 0b 23 |(regexp)| "..\n.#|
|00000770| 88 c4 1d c6 09 0e 07 5c | 22 89 1e 08 4a 1e 09 ca |.......\|"...J...|
|00000780| 1e 0b 0e 09 47 1e 5c 66 | cd 1e 0e cf 20 1e 10 d1 |....G.\f|.... ...|
|00000790| 8e 0e 0e 0e 5c 66 57 83 | 4b 00 d2 0e 13 0e 09 0e |....\fW.|K.......|
|000007a0| 0e 48 5c 22 83 42 00 0e | 09 0e 0e 48 0e 0b 42 16 |.H\".B..|...H..B.|
|000007b0| 0b 0e 0e 54 89 16 0e 82 | 26 00 2a 0e 0b 83 58 00 |...T....|&.*...X.|
|000007c0| d4 0e 0b d5 5c 22 16 0b | 74 83 8c 00 0e 0b 84 68 |....\"..|t......h|
|000007d0| 00 d6 d7 21 88 82 8c 00 | 0e 0b 1e 18 d9 90 0e 18 |...!....|........|
|000007e0| 85 89 00 da 0e 18 40 21 | 88 0e 18 41 89 16 18 83 |......@!|...A....|
|000007f0| 6e 00 da db 21 88 82 6e | 00 91 88 29 0e 0b 2e 06 |n...!..n|...)....|
|00000800| 87 22 20 5b 63 6f 6f 6b | 69 65 20 79 6f 77 2d 66 |." [cook|ie yow-f|
|00000810| 69 6c 65 20 79 6f 77 2d | 6c 6f 61 64 2d 6d 65 73 |ile yow-|load-mes|
|00000820| 73 61 67 65 20 79 6f 77 | 2d 61 66 74 65 72 2d 6c |sage yow|-after-l|
|00000830| 6f 61 64 2d 6d 65 73 73 | 61 67 65 20 74 20 63 61 |oad-mess|age t ca|
|00000840| 73 65 2d 66 6f 6c 64 2d | 73 65 61 72 63 68 20 69 |se-fold-|search i|
|00000850| 6e 74 65 72 6e 20 63 6f | 6f 6b 69 65 2d 63 61 63 |ntern co|okie-cac|
|00000860| 68 65 20 63 6f 6f 6b 69 | 65 2d 74 61 62 6c 65 2d |he cooki|e-table-|
|00000870| 73 79 6d 62 6f 6c 20 73 | 74 72 69 6e 67 2d 74 61 |symbol s|tring-ta|
|00000880| 62 6c 65 20 6e 69 6c 20 | 6d 61 74 63 68 65 73 20 |ble nil |matches |
|00000890| 6c 65 6e 20 30 20 69 20 | 6d 61 74 63 68 2d 64 61 |len 0 i |match-da|
|000008a0| 74 61 20 6d 61 74 63 68 | 2d 64 61 74 61 20 28 28 |ta match|-data ((|
|000008b0| 73 74 6f 72 65 2d 6d 61 | 74 63 68 2d 64 61 74 61 |store-ma|tch-data|
|000008c0| 20 6d 61 74 63 68 2d 64 | 61 74 61 29 29 20 73 74 | match-d|ata)) st|
|000008d0| 72 69 6e 67 2d 6d 61 74 | 63 68 20 72 65 67 65 78 |ring-mat|ch regex|
|000008e0| 70 20 73 6f 72 74 20 73 | 74 72 69 6e 67 2d 6c 65 |p sort s|tring-le|
|000008f0| 73 73 70 20 6d 65 73 73 | 61 67 65 20 22 4e 6f 20 |ssp mess|age "No |
|00000900| 6d 61 74 63 68 65 73 20 | 66 6f 75 6e 64 2e 22 20 |matches |found." |
|00000910| 6c 20 22 2a 5a 69 70 70 | 79 20 41 70 72 6f 70 6f |l "*Zipp|y Apropo|
|00000920| 73 2a 22 20 70 72 69 6e | 63 20 22 5c 6e 5c 6e 22 |s*" prin|c "\n\n"|
|00000930| 5d 20 35 20 28 23 24 20 | 2e 20 31 37 35 37 29 20 |] 5 (#$ |. 1757) |
|00000940| 22 73 41 70 72 6f 70 6f | 73 20 5a 69 70 70 79 20 |"sApropo|s Zippy |
|00000950| 28 72 65 67 65 78 70 29 | 3a 20 22 5d 29 0a 23 40 |(regexp)|: "]).#@|
|00000960| 32 38 20 5a 69 70 70 79 | 20 67 6f 65 73 20 74 6f |28 Zippy| goes to|
|00000970| 20 74 68 65 20 61 6e 61 | 6c 79 73 74 2e 1f 0a 28 | the ana|lyst...(|
|00000980| 64 65 66 61 6c 69 61 73 | 20 27 70 73 79 63 68 6f |defalias| 'psycho|
|00000990| 61 6e 61 6c 79 7a 65 2d | 70 69 6e 68 65 61 64 20 |analyze-|pinhead |
|000009a0| 23 5b 6e 69 6c 20 22 c0 | 20 88 c1 c2 21 88 c3 c4 |#[nil ".| ...!...|
|000009b0| 21 88 c5 c6 21 88 c7 20 | 3f 85 29 00 c8 c9 20 21 |!...!.. |?.)... !|
|000009c0| 88 c5 c6 21 88 ca cb 21 | 88 ca cb 21 88 82 0f 00 |...!...!|...!....|
|000009d0| 87 22 20 5b 64 6f 63 74 | 6f 72 20 6d 65 73 73 61 |." [doct|or messa|
|000009e0| 67 65 20 22 22 20 73 77 | 69 74 63 68 2d 74 6f 2d |ge "" sw|itch-to-|
|000009f0| 62 75 66 66 65 72 20 22 | 2a 64 6f 63 74 6f 72 2a |buffer "|*doctor*|
|00000a00| 22 20 73 69 74 2d 66 6f | 72 20 30 20 69 6e 70 75 |" sit-fo|r 0 inpu|
|00000a10| 74 2d 70 65 6e 64 69 6e | 67 2d 70 20 69 6e 73 65 |t-pendin|g-p inse|
|00000a20| 72 74 2d 73 74 72 69 6e | 67 20 79 6f 77 20 64 6f |rt-strin|g yow do|
|00000a30| 63 74 6f 72 2d 72 65 74 | 2d 6f 72 2d 72 65 61 64 |ctor-ret|-or-read|
|00000a40| 20 31 5d 20 32 20 28 23 | 24 20 2e 20 32 34 30 33 | 1] 2 (#|$ . 2403|
|00000a50| 29 20 6e 69 6c 5d 29 0a | 28 70 72 6f 76 69 64 65 |) nil]).|(provide|
|00000a60| 20 28 71 75 6f 74 65 20 | 79 6f 77 29 29 0a | (quote |yow)). |
+--------+-------------------------+-------------------------+--------+--------+